#include <iostream>
#include "testb.h"
#include "testc.h"

int main() {
    std::cout << "=== 库组合功能测试 ===" << std::endl;
    
    // 测试testb库的功能
    std::cout << get_testb_info() << std::endl;
    int sum = add_numbers(10, 20);
    std::cout << "10 + 20 = " << sum << std::endl;
    
    // 测试testc库的功能
    std::cout << get_testc_info() << std::endl;
    int product = multiply_numbers(5, 6);
    std::cout << "5 * 6 = " << product << std::endl;
    
    // 验证组合库是否正常工作
    if (sum == 30 && product == 30) {
        std::cout << "✅ 库组合功能测试通过！testa库成功组合了testb和testc的功能。" << std::endl;
        return 0;
    } else {
        std::cout << "❌ 库组合功能测试失败！" << std::endl;
        return 1;
    }
}